package com.homelock.common.enums;

/**
 * 通知类型枚举
 * @Author zoumy
 * @CreateDate 2019/09/21
 */
public enum NotifyTypeEnum {
    POST("101","HTTP-POST（Application/json）"),
    TCP("102","TCP"),
    UDP("103","UDP");

    private String code;
    private String desc;
    private NotifyTypeEnum(String code, String desc){
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
